package lab02.test10;

/**
 * Created by dell on 2017/10/19.
 */
public class People {
    //属性：姓名、年龄、性别、身份证号码
    String name;
    int age;
    int gender;
    String idcard;
    //方法：吃饭、睡觉
    void eat (){}
    void sleep (){}
    String getString(){
        return name+"/"+age+"/"+gender+"/"+idcard;
    }
}
